package com.xdb.sqlparser.dialect.oracle.ast.statement;

import com.xdb.sqlparser.ast.SQLName;
import com.xdb.sqlparser.dialect.oracle.visitor.OracleASTVisitor;

public class OracleLabelStatement extends OracleStatementImpl {

	private SQLName label;

	public OracleLabelStatement() {
	}

	public OracleLabelStatement(SQLName label) {
		this.label = label;
	}

	@Override
	public void accept0(OracleASTVisitor visitor) {
		if (visitor.visit(this)) {
			acceptChild(visitor, label);
		}
		visitor.endVisit(this);
	}

	public SQLName getLabel() {
		return label;
	}

	public void setLabel(SQLName label) {
		this.label = label;
	}

}
